if(cfTGetVar('winEmptyHTML')) echo 'winEmptyHTML=\''.str_replace('<','\'+\'<\'+\'',cfTGetVar('winEmptyHTML')).'\';'; else echo 'winEmptyHTML=\'<\'+\'body style="background:white"><\'+\'/body>\';'; // To get a Valid HTML 4.01 Transitional page...
echo "\n";
// Set opened windows properties array
echo "var activeItems=[";
if(is_array(cfGGetVar('activeItems'))){
$nb=0;
foreach (cfGGetVar('activeItems') as $key=>$value){